/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.put.dcs_modeler.exceptions;


import java.util.logging.Logger;
import javax.swing.JOptionPane;
/**
 *
 * @author LukaszR
 */
public class DCSModelerException extends Exception
{
    public static Logger log = Logger.getLogger( DCSModelerException.class.getName() );

    public DCSModelerException( String caller, String message )
    {
        super( "DCSModeler exception (" + caller + "): " + message );
        JOptionPane.showMessageDialog( null, message, "Error: " + caller, JOptionPane.ERROR_MESSAGE );
    }
    
}
